IF(NOT MULTI_THREADED_BUILD)
  MESSAGE(STATUS "** Not building serverpush feature example: requires a multi-threaded build.")
ELSE(NOT MULTI_THREADED_BUILD)

  WT_ADD_EXAMPLE(serverpush.wt ServerPush.C)

  #
  # If you have Wt installed somehwere, you should use the
  # installed Wt header files for your own Wt projects.
  # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
  # instead of the following:
  #
  INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)

  TARGET_LINK_LIBRARIES(serverpush.wt ${CMAKE_THREAD_LIBS_INIT})

ENDIF(NOT MULTI_THREADED_BUILD)
